<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>i18n</title>
    <!--<script src="./static/lang/lang-en.js" type="text/javascript" charset="utf-8"></script>-->
</head>

<body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
</body>
<script type="text/javascript">
    var eScript = document.createElement('script');
    eScript.type = 'text/javascript';
    eScript.src = './static/lang/lang-en.js';
    document.head.appendChild(eScript);
    eScript.onload = function() {
        console.log(lang);

    }
</script>

</html>